package com.ishanggang.mapper;

import com.ishanggang.entity.ShopQuechaoJddj;
import org.apache.ibatis.annotations.Param;

public interface ShopQuechaoJddjMapper {

  public ShopQuechaoJddj queryShopQuechaoJddj(@Param(value = "shopQuechaoId") Long shopQuechaoId,
      @Param(value = "quechaoShopId") String quechaoShopId);

  public int updateShopQuechaoJddjById(@Param(value = "id") Long id,
      @Param(value = "jddjShopId") Long jddjShopId, @Param(value = "matchType") Integer matchType,
      @Param(value = "distance") Double distance, @Param(value = "matchNum") Integer matchNum,
      @Param(value = "matchScore") Integer matchScore,
      @Param(value = "matchScoreReason") String matchScoreReason);

  public int insertShopQuechaoJddj(@Param(value = "jddjShopId") Long jddjShopId,
      @Param(value = "matchType") Integer matchType,
      @Param(value = "shopQuechaoId") Long shopQuechaoId,
      @Param(value = "quechaoShopId") String quechaoShopId,
      @Param(value = "distance") Double distance, @Param(value = "matchNum") Integer matchNum,
      @Param(value = "matchScore") Integer matchScore,
      @Param(value = "matchScoreReason") String matchScoreReason);
}

